
<!--
/**************************************************
* @ accountdetail.jsp
*
* Copyright   2005 Hitrust Technology Inc.
* Developed by SDC, Hitrust.
* All Rights Reserved.
*
* Modify History:
*  v1.00, 2006/05/11, owen
*  1) first release
/**************************************************
-->
<%@ page contentType="text/html; charset=UTF-8" %>
<%@ include file="../../common.jsp" %>

<html>
<head>
<title>申购单明细浏览</title>
<META http-equiv=Content-Type content="text/html; charset=UTF-8">
<!--<LINK href="<%=root%>/css/css.css" type=text/css rel=stylesheet>-->
<LINK href="<%=root%>/css/caigouxitong.css"" type=text/css rel=stylesheet>
<SCRIPT language="JavaScript" src="<%=root%>/js/common.js"></SCRIPT>
<%

//	ResultProcess tGSProvider = (ResultProcess)request.getAttribute("ordermanufacture");
	ArrayList tList = (ArrayList)request.getAttribute("accountdatail");
	String[] tStr = (String[])request.getAttribute("curorderdetail");
	GSOrderBean tBean = (GSOrderBean)request.getAttribute("orderbean");
%>

</head>
<body text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<form name="ordermanufacturevdetail" method="post" >
<input type="hidden" name="orderId" value="<%//=tBean.getGs_order_tempid() %>">
<p><br></p>
<table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
	<tr>
		<td height="20">
			<table width="100%" border="0" cellspacing="0" cellpadding="1">
				<tr height="20">
					<td height="30" width="758" class="mtxt_black">出货单信息
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td class="bg_line" height="2"></td>
	</tr>
</table>
<br>
	<center>
    <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
    <td>
    <table class=bg_table id=tableId	cellspacing=1 cellpadding=0 width=100% align=center border=0>
    <tbody>
	<%
	if(tStr != null){
    %>
	<tr class="bg_row_odd" height="20">
	<td class="top" width="13%" align="center">订货单位</td>
	<td class="top" width="20%">
	<div class="txt_content" align="left">
	<%=GSBaseManager.getOrderDeptName(tBean.getGs_workcorp_id())%>
	</div>
	</td>
	<td class="top" width="13%" align="center">配送方式</td>
	<td class="top" width="20%">
	<div class="txt_content" align="left">
	<%=tBean.getGs_deliver_mode()==null? "":GSBaseManager.getDeliverModeName(tBean.getGs_deliver_mode())%>
	</div>
	</td>
	<td class="top" width="13%" align="center">结算方式</td>
	<td class="top">
	<div class="txt_content" align="left">
	<%=tBean.getGs_balance_mode() == null? "":GSBaseManager.getBalanceModeName(tBean.getGs_balance_mode())%>
	</div>
	</td>
	</tr>
	<tr class="bg_row_odd" height="20">
	<td class="top" width="13%" align="center">出货单号</td>
	<td class="top">
	<div class="txt_content" align="left">
	<%=tStr[21] %>
	</div>
	</td>	
	<td class="top" width="13%" align="center">签收日期</td>
	<td class="top">
	<div class="txt_content" align="left">
	<%=tStr[19]%>
	</div>
	</td>	
	<td class="top" width="13%" align="center">签收人</td>
	<td class="top">
	<div class="txt_content" align="left">
	<%=tStr[20] %>
	</div>
	</td>	
	</tr>
	<tr class="bg_row_odd" height="20">
	<td class="top" width="13%" align="center">送货地址</td>
	<td class="top"><div class="txt_content" align="left"><%=tBean.getGs_deliver_goods_addr()%></div></td>	
	<td class="top" width="13%" align="center">联系人</td>
	<td class="top"><div class="txt_content" align="left"><%=tBean.getGs_order_contact_name()==null?"":tBean.getGs_order_contact_name()%></div></td>	
	<td class="top" width="13%" align="center">联系电话</td>
	<td class="top"><div class="txt_content" align="left"><%=tBean.getGs_order_contact_phone()==null?"":tBean.getGs_order_contact_phone()%></div></td>	
	</tr>
	<tr class="bg_row_odd" height="50">
	<td class="top" width="13%" align="center">备注</td>
	<td class="top" colspan=5><div class="txt_content" align="left"><%=tBean.getGs_notes()%></div></td>	
	</tr>
	<tr class=bg_row_odd >
	<td class="top" width="13%" align="center">创建人</td>
	<td class="top"><div class="txt_content"><%=tBean.getGs_recorder_id()%></div></td>	
	<td class="top" width="13%" align="center">创建时间</td>
	<td class="top" colspan=3><div class="txt_content"><%=tBean.getGs_order_create_date()%></div></td>	
	</tr>
	
	</tbody>
	</table>
	<br>
	   	<table class=bg_table id=tableId	cellspacing=1 cellpadding=2 width=100% align=center border=0>
             <tbody> 
                    <tr class="bg_column"><td colspan="14"><div align="left" class="txt_content"><b>当前所选出货单明细信息</b></div></td></tr>
                    
                    <tr class="bg_column" height=20> 
                                            
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">集中编码</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品名称</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">规格</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">型号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">品牌</div>
						</td>
						<td class=top align=middle> 
                        <div align="center" class="txt_content">签收数量</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">供应商</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">价格（元）</div>
						</td>
                     																																																															
					</tr>
							<tr height=20 class="bg_row_odd">
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[1]%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
								    <%=tStr[2]%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[3]%>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[4]%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[5]%>
									</div>
								</td>						
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[18]%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[6]%>
									</div>
								</td>							
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr[9]%>
									</div>
								</td>	
																			
							</tr> 	
							
											
							</tbody>
							</table>	
<br>							
<%	
	}
	if(tList != null){
%>
            	<table class=bg_table id=tableId	cellspacing=1 cellpadding=2 width=100% align=center border=0>
                    <tbody> 
                    <tr class="bg_column"><td colspan="14"><div align="left" class="txt_content"><b>相同出货单中还有以下明细</b></div></td></tr>
                    <tr class="bg_column" height=20> 
                    
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">集中编码</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">产品名称</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">规格</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">型号</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">品牌</div>
						</td>
						<td class=top align=middle> 
                        <div align="center" class="txt_content">签收数量</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">供应商</div>
						</td>
                        <td class=top align=middle> 
                        <div align="center" class="txt_content">价格（元）</div>
						</td>
                       																																																																												
					</tr>
					<%
						if(tList != null && tList.size() > 0){
						   for(int i=0; i<tList.size(); i++){
						     String[] tStr2 = (String[])tList.get(i);
						     String tTempStr="";
						      if(i%2==0){
						     	tTempStr="class=\"bg_row_odd\"";
						    	}else {
						    		tTempStr="class=\"bg_row_even\"";
						    	}
					%>
							<tr <%=tTempStr%> height=20>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[1]%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[2]%>
									</div>
								</td>								
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[3]%>
									</div>
								</td>
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[4]%>
									</div>
								</td>	
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[5]%>
									</div>
								</td>						
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[18]%>
									</div>
								</td>			
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[6]%>
									</div>
								</td>					
								<td class=top align=middle> 
									<div align="center" class="txt_content">
									<%=tStr2[9]%>
									</div>
								</td>															
								
							</tr> 
							
					<%	
							}
						}else{
					%>
							<font color="red">没有符合条件的其它明细</font>
					<%
						}
					%>
					</tbody>
				</table>
<%		
	}
%>				
			</td>
		</tr>
	</table>
	</center>
</form>
    <p align="center">  
<!--		<input type="image" src="images/button/guanbi.gif" width="58" height="24" class="box" onclick="window.close();"/>&nbsp;		-->
			<input type="button" class="kuang" value="关闭" onclick="window.close();">
    </p>

</html>